<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Detail: guild/guild_saver.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Detail
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c92f8b0c436b7cf5413a5c6644bc0ce0.html">guild</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">guild_saver.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>公会保存  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;sstream&gt;</code><br />
<code>#include &quot;<a class="el" href="guild_8h_source.html">guild/guild.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="service__redis__fwd_8hpp_source.html">redis/service_redis_fwd.hpp</a>&quot;</code><br />
</div>
<p><a href="guild__saver_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a86cddb3a9044df2a4587caca07618cf2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="guild__saver_8hpp.html#a86cddb3a9044df2a4587caca07618cf2">guild_service::detail::SaveLastGuildId</a> (const std::string &amp;service_name, const guild_id_type guild_id)</td></tr>
<tr class="memdesc:a86cddb3a9044df2a4587caca07618cf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">同步保存公会Id  <a href="guild__saver_8hpp.html#a86cddb3a9044df2a4587caca07618cf2">More...</a><br /></td></tr>
<tr class="separator:a86cddb3a9044df2a4587caca07618cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f04165526e37b9bc9715e2152600b14"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="guild__saver_8hpp.html#a4f04165526e37b9bc9715e2152600b14">guild_service::detail::SaveGuildIdByRole</a> (const std::string &amp;service_name, const std::string &amp;op, const role_uuid_type role_uuid, const guild_id_type guild_id)</td></tr>
<tr class="memdesc:a4f04165526e37b9bc9715e2152600b14"><td class="mdescLeft">&#160;</td><td class="mdescRight">同步保存角色唯一id获取公会id  <a href="guild__saver_8hpp.html#a4f04165526e37b9bc9715e2152600b14">More...</a><br /></td></tr>
<tr class="separator:a4f04165526e37b9bc9715e2152600b14"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>公会保存 </p>
<dl class="section date"><dt>Date</dt><dd>2021/05/17 09:05</dd></dl>
<dl class="section author"><dt>Author</dt><dd>harrybao (<a href="#" onclick="location.href='mai'+'lto:'+'har'+'ry'+'bao'+'@1'+'23u'+'.c'+'om'; return false;">harry<span style="display: none;">.nosp@m.</span>bao@<span style="display: none;">.nosp@m.</span>123u.<span style="display: none;">.nosp@m.</span>com</a>)</dd></dl>
<dl class="section version"><dt>Version</dt><dd>v1.0.0</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright © 2021 All Rights Reserved 上海欢乐互娱网络科技有限公司</dd></dl>
<dl class="section user"><dt>history:</dt><dd><table class="doxtable">
<tr>
<th>Date </th><th>Version </th><th>Author </th><th>Description </th></tr>
<tr>
<td>2021/05/17 09:05 </td><td>1.0.0 </td><td>harrybao </td><td>创建初始版本 </td></tr>
</table>
</dd></dl>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a4f04165526e37b9bc9715e2152600b14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f04165526e37b9bc9715e2152600b14">&#9670;&nbsp;</a></span>SaveGuildIdByRole()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::detail::SaveGuildIdByRole </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>service_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="guild_8h.html#a13864dd0b362015febe14be7a3960539">role_uuid_type</a>&#160;</td>
          <td class="paramname"><em>role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="guild_8h.html#a1c8a386d9790b05f2665f3e786b8d983">guild_id_type</a>&#160;</td>
          <td class="paramname"><em>guild_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>同步保存角色唯一id获取公会id </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">service_name</td><td>公会服务名 </td></tr>
    <tr><td class="paramname">op</td><td>操作 </td></tr>
    <tr><td class="paramname">role_uuid</td><td>角色唯一id </td></tr>
    <tr><td class="paramname">guild_id</td><td>公会id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true 保存成功 </dd>
<dd>
false 保存失败 </dd></dl>

</div>
</div>
<a id="a86cddb3a9044df2a4587caca07618cf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86cddb3a9044df2a4587caca07618cf2">&#9670;&nbsp;</a></span>SaveLastGuildId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::detail::SaveLastGuildId </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>service_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="guild_8h.html#a1c8a386d9790b05f2665f3e786b8d983">guild_id_type</a>&#160;</td>
          <td class="paramname"><em>guild_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>同步保存公会Id </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">service_name</td><td>公会服务名 </td></tr>
    <tr><td class="paramname">guild_str_list</td><td>公会id字符串列表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>加载结果 </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>加载成功 </td></tr>
    <tr><td class="paramname">false</td><td>加载失败 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
